<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="styles.css">
    <title>Currency Converter</title>
</head>
<body>
    <div class="converter">
        <h2>Currency Converter</h2>
        <div class="input-container">
            <label for="amount">Amount:</label>
            <input type="number" id="amount" placeholder="Enter amount">
        </div>
        <div class="input-container">
            <label for="fromCurrency">From:</label>
            <select id="fromCurrency"></select>
        </div>
        <div class="input-container">
            <label for="toCurrency">To:</label>
            <select id="toCurrency"></select>
        </div>
        <button onclick="convert()">Convert</button>
        <h3>Result: <span id="result">0.00</span></h3>
    </div>
    <script src="https://openexchangerates.org/api/latest.json?app_id=YOUR_API_KEY&callback=initCurrencies"></script>
    <script src="script.js"></script>
</body>
</html>
